package com.tarena.lbs.stock.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication(scanBasePackages = {
        "com.tarena.lbs.stock",
        "com.tarena.lbs.*.stock"
})
@ImportResource("dubbo.xml")
@MapperScan("com.tarena.lbs.stock.web.mapper")
public class StockApplication {
    public static void main(String[] args) {
        SpringApplication.run(StockApplication.class,args);
    }
}
